package com.dzpk.gameserver.enumeration;

public enum FriendEnum {

    /**无效 删除双方状态*/
    FRIEND_STATE_INVALID(-1),
    /**好友状态有效 */
    FRIEND_STATE_VALID(1),
    /** 申请状态有效 */
    FRIEND_APPLY_STATE_VALID(2),
    /**推荐状态有效*/
    FRIEND_RECOMMEND_STATE_VALID(3),
    /**删除系统好友状态*/
    FRIEND_SYSTEM_STATE(4),
    /**拒绝状态*/
    FRIEND_REFUSE_STATE(5),
    ;
    
    FriendEnum(int id){
        this.id = id;
    }
    
    private int id;
    
    public void setId(int id){
        this.id = id;
    }
    public int getId(){
        return id;
    }
    
    public enum FriendEnergyStateEnum{
        /**可以领取体力状态*/
        FRIEND_ENERGY_ACCEPT(1),
        /**可赠送体力状态*/
        FRIEND_ENERGY_GIVE(2),
        /**赠送体力冷却状态*/
        FRIEND_ENERGY_COOL_TIME(3),
        ;
        
        FriendEnergyStateEnum(int id){
            this.id = id;
        }
        
        private int id;
        
        public void setId(int id){
            this.id = id;
        }
        public int getId(){
            return id;
        }
        
    }
    
    public enum FriendOnlineStateEnum{
        
        /**不在线*/
        FRIEND_OFFLINE_STATE(0),
        /**在线*/
        FRIEND_ONLINE_STATE(1),
        ;
        FriendOnlineStateEnum(int id){
            this.id = id;
        }
        private int id;
        
        public void setId(int id){
            this.id = id;
        }
        public int getId(){
            return id;
        }
        
    }
    
}
